package com.jinghua.treatment.service.impl;

import com.jinghua.treatment.mapper.EmployeeMessageMapper;
import com.jinghua.treatment.service.EmployeeMessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by LV
 */

@Service("employeeMessageService")
public class EmployeeMessageServiceImpl implements EmployeeMessageService {

    @Autowired
    private EmployeeMessageMapper employeeMessageMapper;

    @Override
    public List<String> queryDoctorList(String userId) {
        return employeeMessageMapper.queryDoctorList(userId);
    }

    @Override
    public List<String> queryEmployeeMessage(String userId) {
        return employeeMessageMapper.queryEmployeeMessage(userId);
    }
}
